package org.ricks.schedule;

import java.util.Set;
import java.util.concurrent.TimeUnit;

/**
 * @author chenwei
 * @Title:
 * @Package
 * @Description:
 * @date 2022/11/411:23
 */
public interface Timer {

    Timeout newTimeout(TimerTask task, long delay, TimeUnit unit);

    Set<Timeout> stop();
}